package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.Result;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public void add(Setmeal setmeal);

    public void addSetmealCheckgroup(Map map);

    Page<Setmeal> selectByConditon(String queryString);

    Setmeal findById(Integer id);

    List<Integer> findCheckGroupIdAndSetmeal(Integer id);

    List<Setmeal> findAll();

    int selectAccountById(Integer id);

    List<Map<String, Object>> findSetmealCount();
}
